﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Freedom.Models.ViewModels.ContactViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	联系方式
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <!-- PAGE TITLE -->
	<div class="container m-bot-35 clearfix">
		<div class="sixteen columns">
			<div class="page-title-container clearfix">
				<h1 class="page-title">联系方式</h1>
			</div>	
		</div>
	</div>	
	
<!-- CONTENT -->
	<div class="container clearfix">
		<div class="sixteen columns  m-bot-35">
			<div class="content-container-white">
				<!-- Google Maps -->
					<section class="google-map-container">

						<div id="googlemaps" class="google-map"></div>


					</section>
				<!-- Google Maps / End -->
				<%--<div class="contant-container-caption">
					<span class="bold"></span>
				</div>--%>
			</div>
		</div>
	</div>
			
<!-- CONTACT FORM-->
<div class="container clearfix">
		<div class="twelve columns  m-bot-35">
			<div class="caption-container m-bot-20">
				<div class="caption-text-container">留言板</div>
				<div class="content-container-white caption-bg clearfix"></div>
			</div>
		
		
			<div class="contact-form-container">
				<form action="/Contact/Post" id="contact-form" method="post" class="clearfix">		
                <%--<% using (Html.BeginForm("Post", "Contact", FormMethod.Post, new {@class="clearfix"})) {%>
                <%: Html.ValidationSummary(true) %>--%>	
					<fieldset class="field-1-3 left">
                        <legend></legend>
						<label>姓名</label>
						<%--<input type="text" name="name" id="Myname" onblur="if(this.value=='')this.value='姓名';" onfocus="if(this.value=='姓名')this.value='';" value="姓名" class="text requiredField m-bot-20" >--%>
                        <%: Html.TextBoxFor(model => model.messageInfo.Name, new { type = "text", name = "name", id = "Myname", onblur="if(this.value=='')this.value='姓名';", onfocus="if(this.value=='姓名')this.value='';", value = "姓名", @class = "text requiredField m-bot-20" })%>
                    </fieldset >
					<fieldset class="field-1-3 left">
                        <legend></legend>
						<label>邮箱</label>	
						<%--<input type="text" name="email" id="myemail" onblur="if(this.value=='')this.value='邮箱';" onfocus="if(this.value=='邮箱')this.value='';" value="邮箱"  class="text requiredField email m-bot-20" >--%>
                        <%: Html.TextBoxFor(model => model.messageInfo.Email, new { type="text", name="email", id="myemail", onblur="if(this.value=='')this.value='邮箱';", onfocus="if(this.value=='邮箱')this.value='';", value = "邮箱", @class="text requiredField email m-bot-20" })%>
					</fieldset>
					<fieldset class="field-1-3 left">
                        <legend></legend>
						<label>主题</label>	
						<%--<input type="text" name="subject" id="mySubject"  onblur="if(this.value=='')this.value='主题';" onfocus="if(this.value=='主题')this.value='';" value="主题" class="text requiredField subject m-bot-20" >--%>
                        <%: Html.TextBoxFor(model => model.messageInfo.Title, new { type="text", name="subject", id="mySubject", onblur="if(this.value=='')this.value='主题';", onfocus="if(this.value=='主题')this.value='';", value = "主题", @class = "text requiredField subject m-bot-20" })%>
					</fieldset>	
					<fieldset class="field-1-1 left">
                        <legend></legend>
						<label>内容</label>
						<%--<textarea name="message" id="Mymessage" rows="5" cols="30" class="text requiredField" onblur="if(this.value=='')this.value='内容';" onfocus="if(this.value=='内容')this.value='';">内容</textarea>--%>
					     <%: Html.TextAreaFor(model => model.messageInfo.Content, new { name="message", id="Mymessage", rows="5", cols="30", @class="text requiredField", onblur="if(this.value=='')this.value='内容';", onfocus="if(this.value=='内容')this.value='';" }) %>
                    </fieldset>
					<fieldset class="right">
                        <legend></legend>
						<input name="Mysubmitted" id="Mysubmitted" value="发送" class="button medium2" type="submit" >
					</fieldset>
                <%--<% } %>--%>
				</form>
			</div>
		</div>
		

<!-- SIDEBAR -->
		<div class="four columns  m-bot-25">
			
			<div class="caption-container m-bot-20">
				<div class="caption-text-container">联系信息</div>
				<div class="content-container-white caption-bg clearfix"></div>
			</div>
			
			<div class="">
					<ul class="contact-list">
						<%--<li class="contact-loc content-container-white">
							Corporation, Inc. 123 Aolsom Ave, Suite 600 New York, CA 246012
						</li>
						<li class="contact-phone content-container-white">
							(123) 456-7890<br>(123) 987-6540
						</li>--%>
						<li class="contact-mail content-container-white">
							<a href="mailto:<%= Model.contactInfo.Email %>"><%= Model.contactInfo.Email %></a>
						</li>
                        <li class="contact-weibo content-container-white">
							<a href="<%= Model.contactInfo.Weibo %>" target="_blank"><%= Model.contactInfo.Weibo %></a>
						</li>
					</ul>				
			</div>		
		</div>
		
</div>	

	
	
	

<!-- NEWS LETTER -->
	<!-- deleted -->

<!-- LATEST WORK -->
		<!-- deleted -->

</asp:Content>
